package org.springblade.modules.repair.service.impl;

import org.springblade.core.mp.base.BaseServiceImpl;
import org.springblade.modules.repair.entity.MaintainPlanConfig;
import org.springblade.modules.repair.mapper.MaintainPlanConfigMapper;
import org.springblade.modules.repair.service.MaintainPlanConfigService;
import org.springblade.modules.repair.vo.defert.PlanConfigVo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MaintainPlanConfigServiceImpl extends BaseServiceImpl<MaintainPlanConfigMapper, MaintainPlanConfig> implements MaintainPlanConfigService {

	@Override
	public PlanConfigVo getPlanConfigVo(Long elevatorId) {
		return baseMapper.getPlanConfigVo(elevatorId);
	}

	@Override
	public List<MaintainPlanConfig> findAll(MaintainPlanConfig maintainPlanConfig) {
		return baseMapper.findAll(maintainPlanConfig);
	}
}

